AmeliaBooking\Application\Services\User\UserApplicationService B

Total Complexity 96
Dependencies 20
Dependents 3
Total lines 515
Lines of code 261
Logical lines of code 146
Comment lines 140
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
authorization()
B
47 19 31
getAuthenticatedUserResponse()
B
37 16 72
getAuthenticatedUser()
A
44 13 42
getAppointmentsCountForUser()
A
44 9 43
setWpUserIdForExistingUser()
A
53 9 21
setWpUserIdForNewUser()
A
54 9 18
isCustomerBooking()
S
65 6 8
isAmeliaUser()
S
67 4 8
isAdminAndAllowedToBookAtAnyTime()
S
69 3 6
checkProviderPermissions()
S
77 3 3
isCustomer()
S
78 2 3
isProvider()
S
78 2 3
__construct()
S
81 1 3